package zjc.bookkeeping.service;

import java.io.IOException;
import java.util.List;

import zjc.bookkeeping.db.ConsumptionBean;
import zjc.bookkeeping.model.Consumption;

public interface ConsumptionService {
    public int addConsumption(String json,int userId,ConsumptionBean consumptionBean);
    boolean deleteConsumption(String accountId,int userId);
    List<Consumption> findAllConsumption(int userId);
}
